package com.pda.controller;

import com.pda.service.IPdaService;
import com.cigar.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;
import java.util.Map;

/**
 * @author wzhRoot
 */
@RestController
@RequestMapping("/pda")
public class PdaController {

    @Autowired
    private IPdaService iPdaService;

    @PostMapping("/mainPda")
    public AjaxResult mainPda(@RequestBody Map<String, List<Map<String,Object>>> map){
        return iPdaService.mainPda(map);
    }
}
